Add close button to console.html. Review URL: http://codereview.appspot.com/3799046 git-svn-id: https://pywebsocket.googlecode.com/svn/trunk/src@378 4ff78f4a-9131-11de-b045-6380ec9940d4 
diff --git a/example/console.html b/example/console.html index 25e08e7..96b14a6 100644 --- a/example/console.html +++ b/example/console.html 
@@ -79,6 +79,10 @@  addToLog('Connect ' + addressBox.value);  }   +function closeSocket() { + socket.close(); +} +  function init() {  var scheme = window.location.protocol == 'https:' ? 'wss://' : 'ws://';  var defaultAddress = scheme + window.location.host + '/echo'; @@ -96,6 +100,7 @@  <form action="#" onsubmit="connect(); return false;">  <input type="text" id="address" size="40">  <input type="submit" value="connect"> +<input type="button" value="close" onclick="closeSocket();">  </form>    <textarea id="log" rows="10" cols="40" readonly></textarea>